import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 引入公共样式
import "@/assets/css/reset.css"
// 引入字体图标

import "@/assets/font/iconfont.css"

// 引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import * as type from '@/filters/index'

Object.keys(type).forEach(key => {
  
  Vue.filter(key,type[key])
  
});

Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')

Vue.prototype.$bus = new Vue